package com.chencl.cipher.dao;

import com.chencl.cipher.entity.UserInfoEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @program: rsa-aes-cipher-spring-boot
 * @description:
 * @author: jiangshengli
 * @create: 2022-03-18 14:22
 */
@Repository
@Mapper
public interface UserInfoMapper {

    @Select("select id,idcard,idcard_key idcardKey,doc_code docCode,name,mobile,gender,birthday," +
            "married,company,department,job,degree,create_time createTime,update_time updateTime," +
            "nation,addr,icpcode,height,weight,health_score healthScore,created,profile_time profileTime," +
            "age,consent_agreement consentAgreement from user_info")
    List<UserInfoEntity> queryUserInfoList();
}
